﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hzexe.Wechat.SharpSDK.Message.Response
{
    /// <summary>
    /// 音乐消息
    /// </summary>
    [Serializable]
    [System.Xml.Serialization.XmlRoot("xml")]
    public class Message_Out_Music : ResponseMessageBase
    {
        public Message_Out_Music()
            : base()
        { this.Music = new Music_item(); }
        /// <summary>
        /// 用请求包初始化一个回复包
        /// </summary>
        /// <param name="request">请求包对象</param>
        public Message_Out_Music(Hzexe.Wechat.SharpSDK.Message.Request.RequestMessageBase request)
            : this()
        {
            this.FromUserName = request.ToUserName; //回复包的发送者
            this.ToUserName = request.FromUserName;//回复包的接收者
        }

        /// <summary>
        /// 音乐详情
        /// </summary>
        public Music_item Music { get; set; }
    }
}
